<?php
namespace Home\Model;
use Think\Model;
class CommentsModel extends Model {
	
    protected $_auto = array(
       array('createtime','getdate',self::MODEL_INSERT, 'callback'),
      

    );

    function getdate(){
       return date('Y-m-d H:i:s');
    }

   


}
?>
